package net.mikoo.seals.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class Organization extends BaseModel {

    private static final long serialVersionUID = 7090671103072825893L;
	
    private Long organizationId;
	
    private Long companyId;
	
    private Long parentId;
	
    private String name;
    
    private String orgsChain;
    private String organizationUid;
	
    private String description;
    
    private Integer sequence;
	
    private Date createTime;
	
    private Date updateTime;
    
    private Integer level;
    
    private List<Organization> children = new ArrayList<Organization>();
	
    public Long getOrganizationId() {
        return organizationId;
    }

    public void setOrganizationId(Long organizationId) {
        this.organizationId = organizationId;
    }
    
    public Long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }
    
    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }
    
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    
    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
    
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    
    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

	public List<Organization> getChildren() {
		return children;
	}

	public void setChildren(List<Organization> children) {
		this.children = children;
	}

	public Integer getSequence() {
		return sequence;
	}

	public void setSequence(Integer sequence) {
		this.sequence = sequence;
	}

	public Integer getLevel() {
		return level;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}

	public String getOrgsChain() {
		return orgsChain;
	}

	public void setOrgsChain(String orgsChain) {
		this.orgsChain = orgsChain;
	}

	public String getOrganizationUid() {
		return organizationUid;
	}

	public void setOrganizationUid(String organizationUid) {
		this.organizationUid = organizationUid;
	}
	
	
	
	
}